class CreateCourses < ActiveRecord::Migration
  def self.up
    create_table :courses do |t|
      t.column :code,             :string
      t.column :name,             :string
      t.column :description,      :string
      t.column :display_order,    :integer
      t.column :active,           :boolean,   :default => true      
      t.column :created_at,       :string
      t.column :updated_at,       :string
    end
  end

  def self.down
    drop_table :courses
  end
end
